package com.cwm.test.builder;

public class MainMethod {

    public static void main(String[] args) {
        Student A = new Student.Builder().setName("张 三").setNumber(1).build();
        Student B = new Student.Builder().setSex("男").setName("李四").build();
        System.out.println(A.name + " " + A.number + " " + A.sex);
        System.out.println(B.name + " " + B.number + " " + B.sex);
    }
}